@media print {
    @page {
        margin: 0;
    }

    .page {
        border: none !important;
        box-shadow: none !important;
    }
}

.page {
    width: 21cm;
    height: 29.7cm;
    border: 1px solid black;
    box-shadow: 0 0 3px #666;
    margin: auto;
    padding: 1rem;
}